﻿using Artech.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Artech.Messages
{
    public class MessageEntry: StatefulEntry, IAuditableEntry
    {
        public string Id { get; set; }
        public string Name { get; set; }
        public string Category { get; set; }
        public MessageSeverity Severity { get; set; }
        public string Message { get; set; }

        public IList<MessageText> Translations { get; private set; }
        public AuditInfo AuditInfo { get; set; }

        public MessageEntry()
        {
            this.Translations = new List<MessageText>();
        }
    }
}